﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain
{
    /// <summary>
    /// 中间表
    /// </summary>
    public class UserRole
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int URId {  get; set; }
        /// <summary>
        /// 用户主键
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 角色主键
        /// </summary>
        public int RoleId { get; set; }
    }
}
